package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 订单售后
 *
 * @author flyme
 * @date 2021-08-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_afterservice")
@TableAlias("afterservice")
@ApiModel(value = "BusAfterservice对象", description = "订单售后")
public class BusAfterservice extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "afterServiceId", type = IdType.ASSIGN_ID)
    private Long afterServiceId;

    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    @ApiModelProperty(value = "订单答案Id")
    private Long answerId;

    @ApiModelProperty(value = "申请原因")
    private Long reasonId;

    @ApiModelProperty(value = "描述")
    private String afterDescribe;

    @ApiModelProperty(value = "状态")
    private Integer state;

    @ApiModelProperty(value = "申请人")
    private Long userId;

    @ApiModelProperty(value = "审核人")
    private Long reviewerId;

    @ApiModelProperty(value = "审核意见")
    private String auditMind;

    @ApiModelProperty(value = "审核时间")
    private Date auditTime;


}
